type go/types.object
34 uses
go/types (current package)
object.go#L95: type object struct {
object.go#L107: func (obj *object) Parent() *Scope { return obj.parent }
object.go#L110: func (obj *object) Pos() token.Pos { return obj.pos }
object.go#L114: func (obj *object) Pkg() *Package { return obj.pkg }
object.go#L117: func (obj *object) Name() string { return obj.name }
object.go#L120: func (obj *object) Type() Type { return obj.typ }
object.go#L125: func (obj *object) Exported() bool { return isExported(obj.name) }
object.go#L128: func (obj *object) Id() string { return Id(obj.pkg, obj.name) }
object.go#L130: func (obj *object) String() string { panic("abstract") }
object.go#L131: func (obj *object) order() uint32 { return obj.order_ }
object.go#L132: func (obj *object) scopePos() token.Pos { return obj.scopePos_ }
object.go#L134: func (obj *object) setParent(parent *Scope) { obj.parent = parent }
object.go#L135: func (obj *object) setType(typ Type) { obj.typ = typ }
object.go#L136: func (obj *object) setOrder(order uint32) { assert(order > 0); obj.order_ = order }
object.go#L137: func (obj *object) setScopePos(pos token.Pos) { obj.scopePos_ = pos }
object.go#L139: func (obj *object) sameId(pkg *Package, name string, foldCase bool) bool {
object.go#L169: func (a *object) cmp(b *object) int {
object.go#L206: object
object.go#L213: return &PkgName{object{nil, pos, pkg, name, Typ[Invalid], 0, nopos}, imported}
object.go#L222: object
object.go#L229: return &Const{object{nil, pos, pkg, name, typ, 0, nopos}, val}
object.go#L243: object
object.go#L254: return &TypeName{object{nil, pos, pkg, name, typ, 0, nopos}}
object.go#L296: object
object.go#L368: return &Var{object: object{nil, pos, pkg, name, typ, 0, nopos}, kind: kind}
object.go#L401: object
object.go#L418: return &Func{object{nil, pos, pkg, name, typ, 0, nopos}, false, nil}
object.go#L494: object
object.go#L500: return &Label{object{pos: pos, pkg: pkg, name: name, typ: Typ[Invalid]}, false}
object.go#L506: object
object.go#L511: return &Builtin{object{name: predeclaredFuncs[id].name, typ: Typ[Invalid]}, id}
object.go#L516: object
universe.go#L167: def(&Nil{object{name: "nil", typ: Typ[UntypedNil]}})